package org.example;

public class User {
    private final String name;

    private final String sex;

    private final int age;

    private final int bmi;

    public User(String name, String sex, int age, int bmi) {
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.bmi = bmi;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", age=" + age +
                ", bmi=" + bmi +
                '}';
    }
}
